<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateDrawLotsConfigsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('draw_lots_configs', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('luckyMaxScore');
            $table->integer('luckyMaxRate');
            $table->integer('luckyUpScore');
            $table->integer('luckyUpRate');
            $table->integer('luckyMiddleScore');
            $table->integer('luckyMiddleRate');
            $table->integer('luckyMinScore');
            $table->integer('luckyMinRate');
            $table->integer('safeScore');
            $table->integer('safeRate');
            $table->integer('drawLotsFiveDaysScore');
            $table->integer('dayJoinNum');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('draw_lots_configs');
    }
}
